﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

#nullable disable

namespace webapi.Models.Database
{
    public partial class Category
    {
        [Required(ErrorMessage = "分类id不能为空")]
        public int CateId { get; set; }
        [Required(ErrorMessage = "分类名称不能为空")]
        public string CateName { get; set; }
    }
}
